package com.xianzhiOA.controller;/**
 * Created by Administrator on 2017/5/6.
 */

import com.xianzhiOA.bean.XzRole;
import com.xianzhiOA.bean.XzTempletBase;
import com.xianzhiOA.bean.XzTempletExtend;
import com.xianzhiOA.service.XzApprovalProcessService;
import com.xianzhiOA.service.XzRoleService;
import com.xianzhiOA.service.XzTempletBaseService;
import com.xianzhiOA.service.XzTempletExtendService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.validation.BindingResult;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import java.util.ArrayList;
import java.util.List;

/**
 * 扩展模板
 *
 * @author 王诗博
 * @create 2017-05-06 11:26
 **/
@Controller
@RequestMapping("/XzTempletExtend")
    public class XzTempletExtendController {
     @Autowired
    private XzTempletExtendService templetExtendService;
    @Autowired
    private XzTempletBaseService templetBaseService;
    @Autowired
    private XzApprovalProcessService approvalProcessService;

//    //跳到修改页面
//    @RequestMapping("/toUpdatePage.emp")
//    public ModelAndView toUpdatePage(Long templetBaseId){
//        ModelAndView mv=new ModelAndView("backEnd/templetCreate");
////        XzTempletBase xzTempletBase=templetExtendService.selAllByBaseId(templetBaseId);
//        return mv;
//    }


}
